In this sample we will attempt to use TensorFlow to train several different types of NN for sentiment and other purposes.
In [1]:
import tensorflow as tf
def preprocess():
data = ""
return data
In [ ]:
#Do stuff
lstm= tf.nn.rnn_cell.BasicLSTMCell(200, forget_bias=1.0)
state=tf.zeros([1,200])
num_steps=20